<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div id="commentAdd_<%-- ${boardItem.boardItemsNo } --%>">
	<form id="commentaddForm_<%-- ${boardItem.boardItemsNo } --%>">
		<%-- <input type="hidden" name="memberId" value="${login.memberId }">
		<input type="hidden" name="boardItemsNo" value="${boardItem.boardItemsNo }">   --%>
		<table width="100%" border="1" cellspacing="0" cellpadding="0">
			<tr>
			<td style="padding: 2px 2px 2px 5px"><textarea id="reply" style="width:763px; height:50px"></textarea></td>
			<td style="padding: 2px 2px 2px 0px"><input type="button" value="덧글" style="width:190px; height:50px"></td>
			</tr>
		
			<%-- <tr>
				
				<td width="5%" class="lb_center"><h4>덧글</h4></td>
				<td width="80%" class="lb_center">
					<textarea id="commentAdd" name="commentView" rows="5" style="width: 100%;"></textarea></td>
				<td width="15%" class="lb_center">
				<input type="button" value="덧글입력" style="height: 50px; width: 100px; font-size: 25px;" onclick="commentadd(${boardItem.boardItemsNo });"></td>
			</tr> --%>
									
		</table>
	</form>
</div>						

<%-- <c:if test="${commentList !=null}">
	<c:forEach var="comment" items="${commentList }"> --%>
		<table width="100%" border="1" cellspacing="0" cellpadding="0">
			<tr>
				<td colspan="5">
					<div id="commentView_<%-- ${comment.commentNo } --%>">
						<%@include file="commentsview.jsp" %>
					</div>
				</td>
			</tr>
		</table>
<%-- 	</c:forEach>
</c:if> --%>